﻿using System;
using Home.Mobilesales.Common;
using Home.MobileSales.Common.Entities;


namespace Home.MobileSales.Sales.Interface
{
    public interface IMainFormView:IBindingSource
    {
        DateTime DateWork { get; set; }
        Order CurrentOrder { get; }
        bool EnableForm { set; }
        bool VizibleForm { set; }

        event EventHandler<EventArgs> InitializedComponents;
        event EventHandler<EventArgs> LoadedForm;
        event EventHandler<EventArgs> ChangeDataWork;
        event EventHandler<EventArgs> SelectGrapVisitAction;
        event EventHandler<EventArgs> SelectBuildVisitAction;
        event EventHandler<EventArgs> SelectReportAction;
        event EventHandler<EventArgs> SelectAboutAction;
        event EventHandler<EventArgs> SelectSettingsAction;
        event EventHandler<EventArgs> SelectCheckVisitAction;
        event EventHandler<EventArgs> SelectCreateOrderAction;
        event EventHandler<EventArgs> SelectImportDataAction;
        event EventHandler<EventArgs> SelectExportDataAction;
        event EventHandler<EventArgs> EditOrderAction;
        event EventHandler<EventArgs> DeleteOrderAction;
        event EventHandler<EventArgs> DetailsOrderAction;

    }
}
